package com.jinxin.platform.cdsideparkmgr.common;

/**
 * All rights Reserved, Designed By www.beonelot.com
 *
 * @version: V1.0
 * @Copyright: www.beonelot.com Inc. All rights reserved.
 * @Description：
 * @Date: 2020-07-17
 * @Author: Lingnan
 **/
public class Constant {
    public static final String MODULE_KEY = "apcos-cdsideparkmgr";
    public static final String MODULE_CLASS_NAME = "CdsideparkmgrRpcService";
    public static final String UPLOAD_FILE_MIDDLE_PATH = "/module/apcos-cdsideparkmgr/files/";

    public static final Integer PROJECT_STATUS_ENABLED = 2;//项目状态-启用
    public static final Integer PROJECT_TYPE_YARD = 1;//项目类型-车场
    public static final Integer PROJECT_TYPE_SIDE_PARK = 3;//项目类型-路边停车
    public static final Integer BARRIER_DIRECTION_IN = 1;
    public static final Integer PRODUCT_ORDER_STATUS_PASSED = 2;

    // 订单来源 1.车场临停2.车场包时3.路边停车 4.门禁停车
    public static final Integer ORDER_FROM_SIDERORAD = 3;

    // 交易状态1.未缴费2.已缴费3.退款
    public static final Integer DEAL_STATUS_UNPAYED = 1;
    public static final Integer DEAL_STATUS_PAYED = 2;
    // 是否删除  1.删除 2.不删除
    public static final Integer ORDER_DELETED = 1;
    public static final Integer ORDER_UNDELETED = 2;

    public static final String REDIS_KEY_TOKEN = MODULE_KEY + "-baidubce-token";

    // 通知的标题类型 1入场 2缴费 3出场
    public static final String TITLE_TYPE_ENTRANCE = "1";
    public static final String TITLE_TYPE_PAY = "2";
    public static final String TITLE_TYPE_EXIT = "3";
    // 设备是否在线1是2否
    public static final Integer DEVICE_ON_LINE = 1;
    public static final Integer DEVICE_OFF_LINE = 2;

    public static final int HTTP_STATUS_OK = 200;

    // 是否认证1是2否
    public static final String IS_AUTHED = "1";
    // 是否删除1是0否
    public static final Integer IS_DEL_YES = 1;
    public static final Integer IS_DEL_NO = 0;
    public static final Integer ERROR_CODE_NORMAL = 0;

    public static final String CAR_TYPE_TEMP = "临时车";
    public static final String STRING_NUMER_ONE = "1";
}
